home *** CD-ROM | disk | FTP | other *** search
- // Class definition for quake2.exe
-
- // In UT's case, every property should either be marked readonly,
- // command-line only, or have an IniSection qualifier.
-
- class UnrealTournament
- {
- /***************************************************************
- * Begin of required properties for all GOFs.
- * The 'Display' names should never be changed on these variables.
- ***************************************************************/
- [
- Display("Host Name"),
- Description("The name of the server."),
- IniSection("Engine.GameReplicationInfo"),
- Default("Unreal Tournament Server")
- ]
- string ServerName;
-
- [
- Display("Current Players"),
- Description("The current number of players connected to the server."),
- Readonly,
- AlwaysBrowserVisible
- ]
- uint32 numplayers;
-
- [
- Display("Maximum Players"),
- Description("The maximum number of players allowed on the server."),
- Default("8"),
- IniSection("%gametype%"),
- AlwaysBrowserVisible
- ]
- uint32 maxplayers;
-
- [
- Display("Port"),
- Description("The base port the server is using."),
- Readonly,
- Default("7777") // This will be used when inserting a new server.
- ]
- uint32 port;
-
- [
- Display("Extra Parameters"),
- Description(
- "This property can be used to pass additional command-line "
- "parameters to the game server."),
- CommandLineOnly,
- Default("")
- ]
- string extraparam; // This name should never change.
-
- [
- Display("Initial Level"),
- Description("When the server first starts it will use this level."),
- Values{
- "AS-Frigate", "AS-Guardia", "AS-HiSpeed",
- "AS-Mazon", "AS-OceanFloor", "AS-Overlord",
- "AS-Rook", "AS-Tutorial", "CTF-Command",
- "CTF-Coret", "CTF-Dreary", "CTF-EternalCave",
- "CTF-Face", "CTF-Gauntlet", "CTF-LavaGiant",
- "CTF-Niven", "CTF-November", "CTF-Tutorial",
- "DM-Barricade", "DM-Codex", "DM-Conveyor",
- "DM-Curse][", "DM-Deck16][", "DM-Fetid",
- "DM-Fractal", "DM-Gothic", "DM-Grinder",
- "DM-HyperBlast", "DM-KGalleon", "DM-Liandri",
- "DM-Morbias][", "DM-Morpheus", "DM-Oblivion",
- "DM-Peak", "DM-Phobos", "DM-Pressure",
- "DM-Pyramid", "DM-Stalwart", "DM-StalwartXL",
- "DM-Tempest", "DM-Turbine", "DM-Tutorial",
- "DM-Zeto", "DOM-Cinder", "DOM-Condemned",
- "DOM-Cryptic", "DOM-Gearbolt", "DOM-Ghardhen",
- "DOM-Lament", "DOM-Leadworks", "DOM-MetalDream",
- "DOM-Olden", "DOM-Sesmar", "DOM-Tutorial",
- "EOL_Assault", "EOL_Challenge", "EOL_CTF",
- "EOL_Deathmatch", "EOL_Domination", "EOL_Statues"
- },
- CommandLineOnly,
- Default("DM-Turbine")
- ]
- string initlevel;
-
- [
- Display("Game Type"),
- Description("Determines the type of game the server will host."),
- Values {
- "Tournament Deathmatch",
- "Tournament Team Game",
- "Assault",
- "Domination",
- "Capture the Flag",
- "Last Man Standing"
- },
- ValueMap {
- "Botpack.DeathMatchPlus",
- "Botpack.TeamGamePlus",
- "Botpack.Assault",
- "Botpack.Domination",
- "Botpack.CTFGame",
- "Botpack.LastManStanding"
- },
- CommandLineOnly,
- Default("Tournament Deathmatch")
- ]
- string gametype;
-
- [
- Display("Current Level"),
- Description("The current map the server is using."),
- AlwaysBrowserVisible,
- Readonly,
- UsesValues("initlevel")
- ]
- string mapname;
-
- [
- Display("Time Limit"),
- Description(
- "The number of minutes the server will remain on a level. "
- "If this is 0 there is no time limit."),
- IniSection("%gametype%"),
- Default("0")
- ]
- uint32 timelimit;
-
- [
- Display("Score Limit"),
- Description(
- "When a player's score reaches this level, the server will change "
- "to the next map. If this number is 0 there is no score limit."),
- IniSection("%gametype%"),
- Default("20")
- ]
- uint32 fraglimit;
- /***************************************************************
- * End of required properties for all GOFs.
- ***************************************************************/
-
-
- [
- Display("Game Name"),
- Description("The name of the game being played."),
- Readonly
- ]
- string gamename;
-
- [
- Display("Admin Name"),
- Description("The name of the admin for the server."),
- IniSection("Engine.GameReplicationInfo"),
- AlwaysBrowserVisible
- ]
- string AdminName;
-
- [
- Display("Admin Email"),
- Description("The email address of the admin for the server."),
- IniSection("Engine.GameReplicationInfo"),
- AlwaysBrowserVisible
- ]
- string AdminEmail;
-
- [
- Display("Admin Password"),
- Description(
- "The password required to admin the server."),
- IniSection("Engine.GameInfo"),
- Default("")
- ]
- string AdminPassword;
-
- [
- Display("Game Password"),
- Description(
- "The password required to join the game."),
- IniSection("Engine.GameInfo"),
- Default("")
- ]
- string GamePassword;
-
- [
- Display("Region"),
- Description(
- "The region of the world where the server is located."),
- IniSection("Engine.GameReplicationInfo"),
- Values {
- "No Region Specified (any Region)",
- "Southeast US",
- "Western US",
- "Midwest US",
- "Northwest US, West Canada",
- "Northeast US, East Canada",
- "United Kingdom",
- "Continental Europe",
- "Central Asia, Middle East",
- "Southeast Asia, Pacific",
- "Africa",
- "Australia / NZ / Pacific",
- "Central, South America"
- },
- Default("No Region Specified (any Region)")
- ]
- uint32 Region;
-
- [
- Display("MOTD Line 1"),
- Description(
- "Line 1 of the Message of the Day."),
- IniSection("Engine.GameReplicationInfo"),
- Default("")
- ]
- string MOTDLine1;
-
- [
- Display("MOTD Line 2"),
- Description(
- "Line 2 of the Message of the Day."),
- IniSection("Engine.GameReplicationInfo"),
- Default("")
- ]
- string MOTDLine2;
-
- [
- Display("MOTD Line 3"),
- Description(
- "Line 3 of the Message of the Day."),
- IniSection("Engine.GameReplicationInfo"),
- Default("")
- ]
- string MOTDLine3;
-
- [
- Display("MOTD Line 4"),
- Description(
- "Line 4 of the Message of the Day."),
- IniSection("Engine.GameReplicationInfo"),
- Default("")
- ]
- string MOTDLine4;
-
- [
- Display("Web Server Enabled"),
- Description(
- "Enables the UT remote admin web server."),
- Values { "True", "False" },
- IniSection("UWeb.WebServer"),
- Default("False")
- ]
- string bEnabled;
-
- [
- Display("Web Server Port"),
- Description(
- "Determines the port the UT web server uses."),
- IniSection("UWeb.WebServer"),
- Default("80")
- ]
- string ListenPort;
-
-
- [
- Display("Maximum Teams"),
- IniSection("%gametype%"),
- Default("2")
- ]
- uint32 MaxTeams;
-
- [
- Display("Maximum Team Size"),
- Description(
- "The maximum number of players allowed on a team."),
- IniSection("%gametype%"),
- Default("16")
- ]
- uint32 MaxTeamSize;
-
- [
- Display("Weapons Stay"),
- Values { "True", "False" },
- IniSection("%gametype%"),
- Default("True")
- ]
- uint32 bMultiWeaponStay;
-
- [
- Display("Game Speed"),
- IniSection("Engine.GameInfo"),
- Default("1.0")
- ]
- string GameSpeed;
-
- [
- Display("Air Control"),
- IniSection("%gametype%"),
- Default("0.35")
- ]
- string AirControl;
-
- [
- Display("Friendly Fire"),
- IniSection("%gametype%"),
- Default("0")
- ]
- string FriendlyFireScale;
-
- [
- Display("Use Translocator"),
- Values { "True", "False" },
- IniSection("%gametype%"),
- Default("True")
- ]
- string bUseTranslocator;
-
- [
- Display("Use Translocator"),
- Values { "True", "False" },
- IniSection("%gametype%"),
- Default("False")
- ]
- string bUseTranslocator;
-
- [
- Display("Goal Team Score"),
- IniSection("%gametype%"),
- Description("The first team to reach this score wins."),
- Default("100")
- ]
- string GoalTeamScore;
-
- [
- Display("Force Respawn"),
- Values { "True", "False" },
- IniSection("%gametype%"),
- Default("False")
- ]
- string bForceRespawn;
-
- [
- Display("Tournament"),
- Values { "True", "False" },
- IniSection("%gametype%"),
- Default("True")
- ]
- string bTournament;
-
- [
- Display("Force Balanced Teams"),
- Values { "True", "False" },
- IniSection("%gametype%"),
- Default("True")
- ]
- string bBalanceTeams;
-
- [
- Display("Maximum Spectators"),
- Description(
- "The maximum number of spectators allowed in the game."),
- IniSection("Engine.GameInfo"),
- Default("2")
- ]
- uint32 MaxSpectators;
-
- [
- Display("Minimum Players"),
- Description(
- "The minimum number of players allowed in the game."),
- IniSection("Botpack.DeathMatchPlus"),
- Default("0")
- ]
- uint32 minplayers;
-
- [
- Display("Change Levels"),
- Readonly
- ]
- string changelevels;
-
- [
- Display("World Log"),
- Readonly
- ]
- string worldlog;
-
- [
- Display("Game Mode"),
- Readonly
- ]
- string gamemode;
-
- [
- Display("Game Style"),
- Readonly
- ]
- string gamestyle;
-
- [
- Display("Game Version"),
- Readonly
- ]
- string gamever;
-
- [
- Display("Location"),
- Readonly
- ]
- string location;
-
- [
- Display("Map Title"),
- Readonly
- ]
- string maptitle;
-
- [
- Display("Minnet Version"),
- Readonly
- ]
- string minnetver;
-
- [
- Display("Minnet Version"),
- Readonly
- ]
- string minnetver;
-
- [
- Display("Listen Server"),
- Readonly
- ]
- string listenserver;
-
- };
-
-